<?php

require_once '../work.class.php';


/*$work = new Work(21);

echo ($work->setUserId(4));
echo ($work->setCategoryId(3));
echo ($work->setDescription("nu kaip ir veikia"));

echo "<br/> <br/>";

echo $work->isTimeout() . " time out <br/>";
echo $work->getId() . " work id<br/>";
echo $work->getUserId() . " user id <br/>";
echo $work->getCategoryId() . " category id<br/>";
echo $work->getDescription() . " description <br/>";
echo $work->getDate();

$work->isTimeout(1);
echo $work->isTimeout() . " pakeistas timeout";*/

//_construct($id, $catid = null, $desc = null, $date = null)
$work2 = new Work("2","3","Labas", "2011-12-14");
echo "IDEJO";
?>